package com.xz.danhuaapicommon.service;

import com.xz.danhuaapicommon.model.entity.UserInterfaceInfo;

/**
 * @author xuzhou
 * @version 1.0
 * @createTime 2024-08-01
 * @description
 */
public interface InnerUserInterfaceInfoService {
    /**
     * 接口调用次数
     *
     * @param interfaceInfoId
     * @param userId
     * @return
     */
    boolean invokeCount(long interfaceInfoId, long userId);

    /**
     * 用户调用接口信息
     *
     * @param interfaceInfoId
     * @param userId
     * @return
     */
    UserInterfaceInfo getInvokeUserInterfaceInfo(long interfaceInfoId, long userId);
}
